package com.xinsoft.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 生产退料列表vo
 */
@Data
public class ScmProduceReturnPageVo {

    private Integer id;
    /**
     * 退料时间
     */
    @Excel(name = "退料时间",exportFormat = "yyyy-MM-dd HH:mm:ss",orderNum = "0")
    private Date returnTime;
    /**
     * 生产退料单号
     */
    @Excel(name = "生产退料单号",orderNum = "0")
    private String returnCode;
    /**
     * 退料人
     */
    @Excel(name = "退料人",orderNum = "0")
    private String returnPersonName;

    /**
     * 退料人部门
     */
    @Excel(name = "退料人部门",orderNum = "0")
    private String returnPersonDept;

    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码",orderNum = "0")
    private String materialNo;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称",orderNum = "0")
    private String materialName;

    /**
     * 规格属性
     */
    @Excel(name = "规格属性",orderNum = "0")
    private String materialSpecific;

    /**
     * 退回数量
     */
    @Excel(name = "退回数量",orderNum = "0")
    private BigDecimal returnNum;

    /**
     * 计量单位
     */
    private Integer mainUnit;

    /**
     * 计量单位
     */
    @Excel(name = "主单位",orderNum = "0")
    private String mainUnitName;

    /**
     * 退回辅助数量
     */
    @Excel(name = "退回辅助数量",orderNum = "0")
    private BigDecimal returnAssistNum;

    /**
     * 辅助单位
     */
    private Integer assistUom;

    /**
     * 辅助单位
     */
    @Excel(name = "辅助单位",orderNum = "0")
    private String assistUomName;

    /**
     * 含税单价
     */
    @Excel(name = "含税单价",orderNum = "0")
    private BigDecimal taxUnitPrice;
    /**
     * 含税总价
     */
    @Excel(name = "含税总价",orderNum = "0")
    private BigDecimal taxTotalPrice;

    /**
     * 库存批次
     */
    @Excel(name = "库存批次",orderNum = "0")
    private String batch;

    /**
     * 仓库ID
     */
    private Integer warehouseId;

    /**
     * 仓库
     */
    @Excel(name = "仓库",orderNum = "0")
    private String warehouseName;

    /**
     * 库位ID
     */
    private Integer warehItemId;

    /**
     * 库位
     */
    @Excel(name = "库位",orderNum = "0")
    private String warehItemName;

    /**
     * 源单主键
     */
    private Integer sourceId;

    /**
     * 源单类型
     */
    private Integer sourceType;

    /**
     * 源单类型
     */
    @Excel(name = "源单类型",orderNum = "0")
    private String sourceTypeName;

    /**
     * 源单编码
     */
    @Excel(name = "源单编码",orderNum = "0")
    private String sourceCode;

    /**
     * 备注作为退料原因用
     */
    private String remark;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    private Integer auditStatus;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    @Excel(name = "审核状态",orderNum = "0")
    private String auditStatusName;
}
